/**
 * Created by zhuhuijun on 2017-9-2 18:33:19
 */
app.controller('UserListCtrl', UserListCtrl);
UserListCtrl.$inject = ['$sessionService', 'ngTableService'];
function UserListCtrl($sessionService, ngTableService) {
    var vm = this;
    vm.init = init;
    vm.search = search;


    function init() {
        search();
    }

    function search() {
        var searchCriteria = {
            url: "user/list.do",
            orderBy: {id: "asc"}
        }
        vm.tableParam = ngTableService.ajax(searchCriteria);
    }


}
